<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>对应的季度</title>
	</head>
	<body>
		<script>
			var date = prompt("请您输入月份！");
			if(date <= 3){
				document.write("这是第一季度！");
			}else if(date <= 6 && date >3){
				document.write("这是第二季度！");
			}else if(date <= 12 && date >6){
				document.write("这是第三季度！");
			}
			else{
				document.write("你输入的数字有误！！！");
			}
		</script>
	</body>
</html>
